// SkillManager.h: interface for the CSkillManager class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_SKILLMANAGER_H__6676960B_B120_444E_8A05_C7A670CEC565__INCLUDED_)
#define AFX_SKILLMANAGER_H__6676960B_B120_444E_8A05_C7A670CEC565__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "StructDefine.h"
#include "Xml.h"

class CSkillManager  
{
public:
	LONG m_lDuteID;
	void InitXml();
	BOOL	GetMaxPropritySkillGroup(const CArray<lpSkillGroup,lpSkillGroup>& arrSkillGroupList,SkillGroupItem& mSkillGroup);
	BOOL	GetDuteSkillGroup(LONG lDuteID,CArray<lpSkillGroup,lpSkillGroup>& arrSkillGroupList);
	CString GetSkillNameByID(LONG lSkillID);
	CSkillManager();
	CSkillManager(CString strXmlFilePath);
	CXml m_xml;
	CString m_strXmlFilePath;
	virtual ~CSkillManager();
	CArray<lpSkillGroup,lpSkillGroup> m_arrSkillGroupList;
	CArray<lpSkillGroup,lpSkillGroup> m_arrLearnSkill;
};

#endif // !defined(AFX_SKILLMANAGER_H__6676960B_B120_444E_8A05_C7A670CEC565__INCLUDED_)
